package com.winner.data.controller;

import com.winner.data.exception.BusinessEnum;
import com.winner.data.exception.R;

/**
 * BaseController
 *
 * @author wangxinle53333
 * @since 2023-01-03
 */
public class BaseController {

    public R success(Object obj) {
        return R.success(obj);
    }

    public R success() {
        return R.success();
    }

    public R error(BusinessEnum exceptionEnum) {
        return R.error(exceptionEnum);
    }

}
